import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'memberName',
    type: 'input',
    label: i18n.t('message.name'),
    clearable: true
  },
  {
    filed: 'cardNumber',
    type: 'input',
    label: i18n.t('message.cardnum'),
    clearable: true
  },
  {
    filed: 'phoneNumber',
    type: 'input',
    label: i18n.t('message.sjh'),
    clearable: true
  },
  {
    filed: 'code',
    type: 'select',
    label: i18n.t('message.jylx'),
    clearable: true,
    options: [
      { value: '1', label: i18n.t('message.kk') },
      { value: '2', label: i18n.t('message.cz') },
      { value: '3', label: i18n.t('message.xf') },
      { value: '4', label: i18n.t('message.tf') },
      { value: '5', label: i18n.t('message.tx') }]
  },
  {
    filed: 'time',
    type: 'datetimerange'
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
